<?php
/**
 * @Copyright Copyright (C) 2010-2012
 * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
 + Created by:	Webit Solution
 * Company:		Webit Solution
 + Contact:		www.webits.asia, developer@webits.asia
 * Created on:	Mar 21, 2012
 ^
 + Project: 		WRecruit
 * File Name:	admin-----/views/applications/tmpl/jobs.php
 ^ 
 * Description: Default template for jobs view
 ^ 
 * History:		NONE
 ^ 
 */

defined('_JEXEC') or die('Restricted access');
jimport('joomla.html.pane');
 global $mainframe;
 
 $ADMINPATH = JPATH_BASE .'\components\com_wrecruit';

$theme = array(
	'0' => array('value' => JText::_('wrecruit01.css'),'text' => JText::_('JS_JS_JOBS_DEFAULT_THEME')),
	'1' => array('value' => JText::_('wrecruit02.css'),'text' => JText::_('JS_VIOLET_THEME')),
	'2' => array('value' => JText::_('wrecruit03.css'),'text' => JText::_('JS_PEACH_ORANGE_THEME')),
	'3' => array('value' => JText::_('wrecruit04.css'),'text' => JText::_('JS_GRASS_THEME')),
	'4' => array('value' => JText::_('wrecruit05.css'),'text' => JText::_('JS_PASTEL_PINK_THEME')),
	'4' => array('value' => JText::_('wrecruit06.css'),'text' => JText::_('JS_BLACK_THEME')),
	'5' => array('value' => JText::_('wrecruit07.css'),'text' => JText::_('JS_GREY_THEME')),
	'6' => array('value' => JText::_('templatetheme.css'),'text' => JText::_('JS_TEMPLATE_THEME')),);

$date_format = array(
	'0' => array('value' => JText::_('d-m-Y'),'text' => JText::_('JS_DD_MM_YYYY')),
	'1' => array('value' => JText::_('m-d-Y'),'text' => JText::_('JS_MM_DD_YYYY')),
	'2' => array('value' => JText::_('Y-m-d'),'text' => JText::_('JS_YYYY_MM_DD')),);
$joblistingstyle = array(
	'1' => array('value' => JText::_('classic'),'text' => JText::_('JS_CLASSIC')),
	'2' => array('value' => JText::_('july2011'),'text' => JText::_('JS_NEW')),);
$resumelistingstyle = array(
	'1' => array('value' => JText::_('tabular'),'text' => JText::_('JS_TABULAR')),
	'2' => array('value' => JText::_('sliding'),'text' => JText::_('JS_SLIDING')),);

$yesno = array(
	'0' => array('value' => JText::_(1),
					'text' => JText::_('Yes')),
	'1' => array('value' => JText::_(0),
					'text' => JText::_('No')),);

$yesnobackup = array(
	'0' => array('value' => JText::_(1),
					'text' => JText::_('JS_YES_RECOMMENDED')),
	'1' => array('value' => JText::_(0),
					'text' => JText::_('No')),);

$showhide = array(
	'0' => array('value' => JText::_(1),
					'text' => JText::_('Show')),
	'1' => array('value' => JText::_(0),
					'text' => JText::_('Hide')),);

$paymentmethodsarray = array(
	'0' => array('value' => 'paypal','text' => JText::_('PAYPAL')),
	'1' => array('value' => 'fastspring','text' => JText::_('FASTSPRING')),
	'2' => array('value' => 'authorizenet','text' => JText::_('AUTHORIZE_NET')),
	'3' => array('value' => '2checkout','text' => JText::_('2CHECKOUT')),
	'4' => array('value' => 'pagseguro','text' => JText::_('PAGSEGURO')),
	'5' => array('value' => 'other','text' => JText::_('JS_OTHER')),
	'6' => array('value' => 'no','text' => JText::_('JS_NOT_USE')),);

$offline = JHTML::_('select.genericList', $yesno, 'offline', 'class="inputbox" '. '', 'value', 'text', $this->config['offline']);
$backup = JHTML::_('select.genericList', $yesnobackup, 'backuponuninstall', 'class="inputbox" '. '', 'value', 'text', $this->config['backuponuninstall']);

$companyautoapprove = JHTML::_('select.genericList', $yesno, 'companyautoapprove', 'class="inputbox" '. '', 'value', 'text', $this->config['companyautoapprove']);
$jobautoapprove = JHTML::_('select.genericList', $yesno, 'jobautoapprove', 'class="inputbox" '. '', 'value', 'text', $this->config['jobautoapprove']);
$empautoapprove = JHTML::_('select.genericList', $yesno, 'empautoapprove', 'class="inputbox" '. '', 'value', 'text', $this->config['empautoapprove']);

$featuredjob_autoapprove = JHTML::_('select.genericList', $yesno, 'featuredjob_autoapprove', 'class="inputbox" '. '', 'value', 'text', $this->config['featuredjob_autoapprove']);
$goldjob_autoapprove = JHTML::_('select.genericList', $yesno, 'goldjob_autoapprove', 'class="inputbox" '. '', 'value', 'text', $this->config['goldjob_autoapprove']);
$featuredcompany_autoapprove = JHTML::_('select.genericList', $yesno, 'featuredcompany_autoapprove', 'class="inputbox" '. '', 'value', 'text', $this->config['featuredcompany_autoapprove']);
$goldcompany_autoapprove = JHTML::_('select.genericList', $yesno, 'goldcompany_autoapprove', 'class="inputbox" '. '', 'value', 'text', $this->config['goldcompany_autoapprove']);
$featuredresume_autoapprove = JHTML::_('select.genericList', $yesno, 'featuredresume_autoapprove', 'class="inputbox" '. '', 'value', 'text', $this->config['featuredresume_autoapprove']);
$goldresume_autoapprove = JHTML::_('select.genericList', $yesno, 'goldresume_autoapprove', 'class="inputbox" '. '', 'value', 'text', $this->config['goldresume_autoapprove']);

$curlocation = JHTML::_('select.genericList', $yesno, 'cur_location', 'class="inputbox" '. '', 'value', 'text', $this->config['cur_location']);
$showemployerlink = JHTML::_('select.genericList', $yesno, 'showemployerlink', 'class="inputbox" '. '', 'value', 'text', $this->config['showemployerlink']);
$job_editor = JHTML::_('select.genericList', $yesno, 'job_editor', 'class="inputbox" '. '', 'value', 'text', $this->config['job_editor']);

$themes = JHTML::_('select.genericList', $theme, 'theme', 'class="inputbox" '. '', 'value', 'text', $this->config['theme']);

$date_format = JHTML::_('select.genericList', $date_format, 'date_format', 'class="inputbox" '. '', 'value', 'text', $this->config['date_format']);


$payment_multicompanies = JHTML::_('select.genericList', $yesno, 'payment_multicompanies', 'class="inputbox" '. '', 'value', 'text', $this->config['payment_multicompanies']);

$visitorview_js_controlpanel = JHTML::_('select.genericList', $showhide, 'visitorview_js_controlpanel', 'class="inputbox" '. '', 'value', 'text', $this->config['visitorview_js_controlpanel']);
$visitorview_js_packages = JHTML::_('select.genericList', $showhide, 'visitorview_js_packages', 'class="inputbox" '. '', 'value', 'text', $this->config['visitorview_js_packages']);
$visitorview_js_viewpackage = JHTML::_('select.genericList', $showhide, 'visitorview_js_viewpackage', 'class="inputbox" '. '', 'value', 'text', $this->config['visitorview_js_viewpackage']);
$visitorview_wrecruitcat = JHTML::_('select.genericList', $showhide, 'visitorview_wrecruitcat', 'class="inputbox" '. '', 'value', 'text', $this->config['visitorview_wrecruitcat']);
$visitorview_js_listjob = JHTML::_('select.genericList', $showhide, 'visitorview_js_listjob', 'class="inputbox" '. '', 'value', 'text', $this->config['visitorview_js_listjob']);
$visitorview_js_newestjobs = JHTML::_('select.genericList', $showhide, 'visitorview_js_newestjobs', 'class="inputbox" '. '', 'value', 'text', $this->config['visitorview_js_newestjobs']);
$visitorview_wrecruitsearch = JHTML::_('select.genericList', $showhide, 'visitorview_wrecruitsearch', 'class="inputbox" '. '', 'value', 'text', $this->config['visitorview_wrecruitsearch']);
$visitorview_wrecruitsearchresult = JHTML::_('select.genericList', $showhide, 'visitorview_wrecruitsearchresult', 'class="inputbox" '. '', 'value', 'text', $this->config['visitorview_wrecruitsearchresult']);
$visitorview_js_viewresume = JHTML::_('select.genericList', $showhide, 'visitorview_js_viewresume', 'class="inputbox" '. '', 'value', 'text', $this->config['visitorview_js_viewresume']);
$visitorview_emp_conrolpanel = JHTML::_('select.genericList', $showhide, 'visitorview_emp_conrolpanel', 'class="inputbox" '. '', 'value', 'text', $this->config['visitorview_emp_conrolpanel']);
$visitorview_emp_packages = JHTML::_('select.genericList', $showhide, 'visitorview_emp_packages', 'class="inputbox" '. '', 'value', 'text', $this->config['visitorview_emp_packages']);
$visitorview_emp_viewpackage = JHTML::_('select.genericList', $showhide, 'visitorview_emp_viewpackage', 'class="inputbox" '. '', 'value', 'text', $this->config['visitorview_emp_viewpackage']);
$visitorview_emp_resumesearch = JHTML::_('select.genericList', $showhide, 'visitorview_emp_resumesearch', 'class="inputbox" '. '', 'value', 'text', $this->config['visitorview_emp_resumesearch']);
$visitorview_emp_resumesearchresult = JHTML::_('select.genericList', $showhide, 'visitorview_emp_resumesearchresult', 'class="inputbox" '. '', 'value', 'text', $this->config['visitorview_emp_resumesearchresult']);
$visitorview_emp_viewcompany = JHTML::_('select.genericList', $showhide, 'visitorview_emp_viewcompany', 'class="inputbox" '. '', 'value', 'text', $this->config['visitorview_emp_viewcompany']);
$visitorview_emp_viewjob = JHTML::_('select.genericList', $showhide, 'visitorview_emp_viewjob', 'class="inputbox" '. '', 'value', 'text', $this->config['visitorview_emp_viewjob']);

$lj_title = JHTML::_('select.genericList', $showhide, 'lj_title', 'class="inputbox" '. '', 'value', 'text', $this->config['lj_title']);
$lj_category = JHTML::_('select.genericList', $showhide, 'lj_category', 'class="inputbox" '. '', 'value', 'text', $this->config['lj_category']);
$lj_jobtype = JHTML::_('select.genericList', $showhide, 'lj_jobtype', 'class="inputbox" '. '', 'value', 'text', $this->config['lj_jobtype']);
$lj_jobstatus = JHTML::_('select.genericList', $showhide, 'lj_jobstatus', 'class="inputbox" '. '', 'value', 'text', $this->config['lj_jobstatus']);
$lj_company = JHTML::_('select.genericList', $showhide, 'lj_company', 'class="inputbox" '. '', 'value', 'text', $this->config['lj_company']);
$lj_companysite = JHTML::_('select.genericList', $showhide, 'lj_companysite', 'class="inputbox" '. '', 'value', 'text', $this->config['lj_companysite']);
$lj_country = JHTML::_('select.genericList', $showhide, 'lj_country', 'class="inputbox" '. '', 'value', 'text', $this->config['lj_country']);
$lj_city = JHTML::_('select.genericList', $showhide, 'lj_city', 'class="inputbox" '. '', 'value', 'text', $this->config['lj_city']);
$lj_state = JHTML::_('select.genericList', $showhide, 'lj_state', 'class="inputbox" '. '', 'value', 'text', $this->config['lj_state']);
$lj_county = JHTML::_('select.genericList', $showhide, 'lj_county', 'class="inputbox" '. '', 'value', 'text', $this->config['lj_county']);
$lj_salary = JHTML::_('select.genericList', $showhide, 'lj_salary', 'class="inputbox" '. '', 'value', 'text', $this->config['lj_salary']);
$lj_description = JHTML::_('select.genericList', $showhide, 'lj_description', 'class="inputbox" '. '', 'value', 'text', $this->config['lj_description']);
$lj_created = JHTML::_('select.genericList', $showhide, 'lj_created', 'class="inputbox" '. '', 'value', 'text', $this->config['lj_created']);
$lj_noofjobs = JHTML::_('select.genericList', $showhide, 'lj_noofjobs', 'class="inputbox" '. '', 'value', 'text', $this->config['lj_noofjobs']);
$lj_joblistingstyle = JHTML::_('select.genericList', $joblistingstyle, 'lj_joblistingstyle', 'class="inputbox" '. '', 'value', 'text', $this->config['lj_joblistingstyle']);

$visitor_lj_title = JHTML::_('select.genericList', $showhide, 'visitor_lj_title', 'class="inputbox" '. '', 'value', 'text', $this->config['visitor_lj_title']);
$visitor_lj_category = JHTML::_('select.genericList', $showhide, 'visitor_lj_category', 'class="inputbox" '. '', 'value', 'text', $this->config['visitor_lj_category']);
$visitor_lj_jobtype = JHTML::_('select.genericList', $showhide, 'visitor_lj_jobtype', 'class="inputbox" '. '', 'value', 'text', $this->config['visitor_lj_jobtype']);
$visitor_lj_jobstatus = JHTML::_('select.genericList', $showhide, 'visitor_lj_jobstatus', 'class="inputbox" '. '', 'value', 'text', $this->config['visitor_lj_jobstatus']);
$visitor_lj_company = JHTML::_('select.genericList', $showhide, 'visitor_lj_company', 'class="inputbox" '. '', 'value', 'text', $this->config['visitor_lj_company']);
$visitor_lj_companysite = JHTML::_('select.genericList', $showhide, 'visitor_lj_companysite', 'class="inputbox" '. '', 'value', 'text', $this->config['visitor_lj_companysite']);
$visitor_lj_country = JHTML::_('select.genericList', $showhide, 'visitor_lj_country', 'class="inputbox" '. '', 'value', 'text', $this->config['visitor_lj_country']);
$visitor_lj_city = JHTML::_('select.genericList', $showhide, 'visitor_lj_city', 'class="inputbox" '. '', 'value', 'text', $this->config['visitor_lj_city']);
$visitor_lj_state = JHTML::_('select.genericList', $showhide, 'visitor_lj_state', 'class="inputbox" '. '', 'value', 'text', $this->config['visitor_lj_state']);
$visitor_lj_county = JHTML::_('select.genericList', $showhide, 'visitor_lj_county', 'class="inputbox" '. '', 'value', 'text', $this->config['visitor_lj_county']);
$visitor_lj_salary = JHTML::_('select.genericList', $showhide, 'visitor_lj_salary', 'class="inputbox" '. '', 'value', 'text', $this->config['visitor_lj_salary']);
$visitor_lj_description = JHTML::_('select.genericList', $showhide, 'visitor_lj_description', 'class="inputbox" '. '', 'value', 'text', $this->config['visitor_lj_description']);
$visitor_lj_created = JHTML::_('select.genericList', $showhide, 'visitor_lj_created', 'class="inputbox" '. '', 'value', 'text', $this->config['visitor_lj_created']);
$visitor_lj_noofjobs = JHTML::_('select.genericList', $showhide, 'visitor_lj_noofjobs', 'class="inputbox" '. '', 'value', 'text', $this->config['visitor_lj_noofjobs']);


$search_job_keyword = JHTML::_('select.genericList', $showhide, 'search_job_keyword', 'class="inputbox" '. '', 'value', 'text', $this->config['search_job_keyword']);
$search_job_category = JHTML::_('select.genericList', $showhide, 'search_job_category', 'class="inputbox" '. '', 'value', 'text', $this->config['search_job_category']);
$search_job_type = JHTML::_('select.genericList', $showhide, 'search_job_type', 'class="inputbox" '. '', 'value', 'text', $this->config['search_job_type']);
$search_job_jobstatus = JHTML::_('select.genericList', $showhide, 'search_job_status', 'class="inputbox" '. '', 'value', 'text', $this->config['search_job_status']);
$search_job_company = JHTML::_('select.genericList', $showhide, 'search_job_company', 'class="inputbox" '. '', 'value', 'text', $this->config['search_job_company']);
$search_job_companysite = JHTML::_('select.genericList', $showhide, 'search_job_companysite', 'class="inputbox" '. '', 'value', 'text', $this->config['search_job_companysite']);
$search_job_country = JHTML::_('select.genericList', $showhide, 'search_job_country', 'class="inputbox" '. '', 'value', 'text', $this->config['search_job_country']);
$search_job_city = JHTML::_('select.genericList', $showhide, 'search_job_city', 'class="inputbox" '. '', 'value', 'text', $this->config['search_job_city']);
$search_job_zipcode = JHTML::_('select.genericList', $showhide, 'search_job_zipcode', 'class="inputbox" '. '', 'value', 'text', $this->config['search_job_zipcode']);
$search_job_state = JHTML::_('select.genericList', $showhide, 'search_job_state', 'class="inputbox" '. '', 'value', 'text', $this->config['search_job_state']);
$search_job_county = JHTML::_('select.genericList', $showhide, 'search_job_county', 'class="inputbox" '. '', 'value', 'text', $this->config['search_job_county']);
$search_job_showsave = JHTML::_('select.genericList', $yesno, 'search_job_showsave', 'class="inputbox" '. '', 'value', 'text', $this->config['search_job_showsave']);
$search_job_durration = JHTML::_('select.genericList', $showhide, 'search_job_durration', 'class="inputbox" '. '', 'value', 'text', $this->config['search_job_durration']);
$search_job_experience = JHTML::_('select.genericList', $showhide, 'search_job_experience', 'class="inputbox" '. '', 'value', 'text', $this->config['search_job_experience']);
$search_job_heighesteducation = JHTML::_('select.genericList', $showhide, 'search_job_heighesteducation', 'class="inputbox" '. '', 'value', 'text', $this->config['search_job_heighesteducation']);
$search_job_salaryrange = JHTML::_('select.genericList', $showhide, 'search_job_salaryrange', 'class="inputbox" '. '', 'value', 'text', $this->config['search_job_salaryrange']);
$search_job_shift = JHTML::_('select.genericList', $showhide, 'search_job_shift', 'class="inputbox" '. '', 'value', 'text', $this->config['search_job_shift']);
$search_job_startpublishing = JHTML::_('select.genericList', $showhide, 'search_job_startpublishing', 'class="inputbox" '. '', 'value', 'text', $this->config['search_job_startpublishing']);
$search_job_stoppublishing = JHTML::_('select.genericList', $showhide, 'search_job_stoppublishing', 'class="inputbox" '. '', 'value', 'text', $this->config['search_job_stoppublishing']);

$search_resume_showsave = JHTML::_('select.genericList', $yesno, 'search_resume_showsave', 'class="inputbox" '. '', 'value', 'text', $this->config['search_resume_showsave']);
$search_resume_available = JHTML::_('select.genericList', $showhide, 'search_resume_available', 'class="inputbox" '. '', 'value', 'text', $this->config['search_resume_available']);
$search_resume_experience = JHTML::_('select.genericList', $showhide, 'search_resume_experience', 'class="inputbox" '. '', 'value', 'text', $this->config['search_resume_experience']);
$search_resume_gender = JHTML::_('select.genericList', $showhide, 'search_resume_gender', 'class="inputbox" '. '', 'value', 'text', $this->config['search_resume_gender']);
$search_resume_heighesteducation = JHTML::_('select.genericList', $showhide, 'search_resume_heighesteducation', 'class="inputbox" '. '', 'value', 'text', $this->config['search_resume_heighesteducation']);
$search_resume_name = JHTML::_('select.genericList', $showhide, 'search_resume_name', 'class="inputbox" '. '', 'value', 'text', $this->config['search_resume_name']);
$search_resume_nationality = JHTML::_('select.genericList', $showhide, 'search_resume_nationality', 'class="inputbox" '. '', 'value', 'text', $this->config['search_resume_nationality']);
$search_resume_salaryrange = JHTML::_('select.genericList', $showhide, 'search_resume_salaryrange', 'class="inputbox" '. '', 'value', 'text', $this->config['search_resume_salaryrange']);
$search_resume_title = JHTML::_('select.genericList', $showhide, 'search_resume_title', 'class="inputbox" '. '', 'value', 'text', $this->config['search_resume_title']);
$search_resume_category = JHTML::_('select.genericList', $showhide, 'search_resume_category', 'class="inputbox" '. '', 'value', 'text', $this->config['search_resume_category']);
$search_resume_type = JHTML::_('select.genericList', $showhide, 'search_resume_type', 'class="inputbox" '. '', 'value', 'text', $this->config['search_resume_type']);
$resume_style = JHTML::_('select.genericList', $resumelistingstyle, 'resume_style', 'class="inputbox" '. '', 'value', 'text', $this->config['resume_style']);


$filter = JHTML::_('select.genericList', $showhide, 'filter', 'class="inputbox" '. '', 'value', 'text', $this->config['filter']);
$filter_address = JHTML::_('select.genericList', $showhide, 'filter_address', 'class="inputbox" '. '', 'value', 'text', $this->config['filter_address']);
$filter_category = JHTML::_('select.genericList', $showhide, 'filter_category', 'class="inputbox" '. '', 'value', 'text', $this->config['filter_category']);
$filter_jobtype = JHTML::_('select.genericList', $showhide, 'filter_jobtype', 'class="inputbox" '. '', 'value', 'text', $this->config['filter_jobtype']);
$filter_heighesteducation = JHTML::_('select.genericList', $showhide, 'filter_heighesteducation', 'class="inputbox" '. '', 'value', 'text', $this->config['filter_heighesteducation']);
$filter_salaryrange = JHTML::_('select.genericList', $showhide, 'filter_salaryrange', 'class="inputbox" '. '', 'value', 'text', $this->config['filter_salaryrange']);


$comp_zipcode = JHTML::_('select.genericList', $showhide, 'comp_zipcode', 'class="inputbox" '. '', 'value', 'text', $this->config['comp_zipcode']);
$comp_city = JHTML::_('select.genericList', $showhide, 'comp_city', 'class="inputbox" '. '', 'value', 'text', $this->config['comp_city']);
$comp_state = JHTML::_('select.genericList', $showhide, 'comp_state', 'class="inputbox" '. '', 'value', 'text', $this->config['comp_state']);
$comp_county = JHTML::_('select.genericList', $showhide, 'comp_county', 'class="inputbox" '. '', 'value', 'text', $this->config['comp_county']);

$email_admin_new_company = JHTML::_('select.genericList', $yesno, 'email_admin_new_company', 'class="inputbox" '. '', 'value', 'text', $this->config['email_admin_new_company']);
$email_admin_new_job = JHTML::_('select.genericList', $yesno, 'email_admin_new_job', 'class="inputbox" '. '', 'value', 'text', $this->config['email_admin_new_job']);
$email_admin_new_resume = JHTML::_('select.genericList', $yesno, 'email_admin_new_resume', 'class="inputbox" '. '', 'value', 'text', $this->config['email_admin_new_resume']);
$email_admin_job_apply = JHTML::_('select.genericList', $yesno, 'email_admin_job_apply', 'class="inputbox" '. '', 'value', 'text', $this->config['email_admin_job_apply']);
$email_admin_new_department = JHTML::_('select.genericList', $yesno, 'email_admin_new_department', 'class="inputbox" '. '', 'value', 'text', $this->config['email_admin_new_department']);
$email_admin_employer_package_purchase = JHTML::_('select.genericList', $yesno, 'email_admin_employer_package_purchase', 'class="inputbox" '. '', 'value', 'text', $this->config['email_admin_employer_package_purchase']);
$email_admin_jobseeker_package_purchase = JHTML::_('select.genericList', $yesno, 'email_admin_jobseeker_package_purchase', 'class="inputbox" '. '', 'value', 'text', $this->config['email_admin_jobseeker_package_purchase']);

$paymentmethods = JHTML::_('select.genericList', $paymentmethodsarray, 'payment_method', 'class="inputbox" '. 'onchange="paymentmethod_showhide()"', 'value', 'text', $this->config['payment_method']);
$payment_test_mode = JHTML::_('select.genericList', $yesno, 'payment_test_mode', 'class="inputbox" '. '', 'value', 'text', $this->config['payment_test_mode']);
$payment_showdescription = JHTML::_('select.genericList', $showhide, 'payment_showdescription', 'class="inputbox" '. '', 'value', 'text', $this->config['payment_showdescription']);
$payment_showfooter = JHTML::_('select.genericList', $showhide, 'payment_showfooter', 'class="inputbox" '. '', 'value', 'text', $this->config['payment_showfooter']);

//package
$onlyonce_employer_getfreepackage = JHTML::_('select.genericList', $yesno, 'onlyonce_employer_getfreepackage', 'class="inputbox" '. '', 'value', 'text', $this->config['onlyonce_employer_getfreepackage']);
$onlyonce_jobseeker_getfreepackage = JHTML::_('select.genericList', $yesno, 'onlyonce_jobseeker_getfreepackage', 'class="inputbox" '. '', 'value', 'text', $this->config['onlyonce_jobseeker_getfreepackage']);
$employer_freepackage_autoapprove = JHTML::_('select.genericList', $yesno, 'employer_freepackage_autoapprove', 'class="inputbox" '. '', 'value', 'text', $this->config['employer_freepackage_autoapprove']);
$jobseeker_freepackage_autoapprove = JHTML::_('select.genericList', $yesno, 'jobseeker_freepackage_autoapprove', 'class="inputbox" '. '', 'value', 'text', $this->config['jobseeker_freepackage_autoapprove']);

$filter_address_country = JHTML::_('select.genericList', $showhide, 'filter_address_country', 'class="inputbox" '. '', 'value', 'text', $this->config['filter_address_country']);
$filter_address_state   = JHTML::_('select.genericList', $showhide, 'filter_address_state', 'class="inputbox" '. '', 'value', 'text', $this->config['filter_address_state']);
$filter_address_county  = JHTML::_('select.genericList', $showhide, 'filter_address_county', 'class="inputbox" '. '', 'value', 'text', $this->config['filter_address_county']);
$filter_address_city    = JHTML::_('select.genericList', $showhide, 'filter_address_city', 'class="inputbox" '. '', 'value', 'text', $this->config['filter_address_city']);

$pane =& JPane::getInstance('tabs');

$big_field_width = 40;
$med_field_width = 25;
$sml_field_width = 15;

?>

<table width="100%" >
	<tr>
		<td align="left" width="188"  valign="top">
			<table width="100%" style="table-layout:fixed;"><tr><td style="vertical-align:top;">
			<?php
			include_once('components/com_wrecruit/views/menu.php');
			?>
			</td>
			</tr></table>
		</td>
		<td width="789" valign="top" align="left">

			<form action="index.php" method="POST" name="adminForm">
			<table cellpadding="5" cellspacing="0" border="0" width="100%" class="admintable" >
			<tr><td>
					<?php  echo $pane->startPane('myPane');  ?>
					<?php echo $pane->startPanel(JText::_('JS_SITE_SETTINGS'),'title'); ?>
					<fieldset>
					<legend><?php echo JText::_('JS_SITE_SETTINGS'); ?></legend>
					<table cellpadding="5" cellspacing="1" border="0" width="100%" class="admintable" >
						<tr>
							<td class="key"><strong><?php echo JText::_('JS_BACKUP_UNINSTALL'); ?></strong></td>
					 		<td><?php echo $backup; ?></td>
							<td  width="25%" class="key"><strong><?php echo JText::_('JS_EMPLOYER_ALLOW'); ?></strong></td>
							<td width="25%"><?php echo $showemployerlink; ?></td>
					  	</tr>
					    <tr>
					    	<td class="key" ><?php echo JText::_('JS_DATA_DIRECTORY'); ?></td>
							<td ><input type="text" name="data_directory" value="<?php echo $this->config['data_directory']; ?>" class="inputbox" size="<?php echo $med_field_width;?>"/> </td>
							<td  class="key"><strong><?php echo JText::_('JS_COMPANY_AUTO_APPROVE'); ?></strong></td>
							<td><?php echo $companyautoapprove; ?></td>
						</tr>
						<tr>
							<td  class="key"><strong><?php echo JText::_('JS_CURRENCY'); ?></strong></td>
							<td><input type="text" name="currency" value="<?php echo $this->config['currency']; ?>" class="inputbox" size="<?php echo $med_field_width; ?>" maxlength="7" /></td>
							<td  class="key"><strong><?php echo JText::_('JS_JOB_AUTO_APPROVE'); ?></strong></td>
							<td><?php echo $jobautoapprove; ?></td>
						</tr>
						<tr >
							<td class="key"><strong><?php echo JText::_('JS_DATE_FORMATE'); ?></strong></td>
							<td><?php echo $date_format; ?></td>
							<td  class="key"><strong><?php echo JText::_('JS_RESUME_AUTO_APPROVE'); ?></strong></td>
							<td><?php echo $empautoapprove; ?></td>
					    </tr>
					    <tr >
							<td  class="key"><strong><?php echo JText::_('JS_ITEMS_NEW_FOR'); ?></strong></td>
							<td><input type="text" name="newdays" value="<?php echo $this->config['newdays']; ?>" class="inputbox" size="<?php echo $med_field_width; ?>" maxlength="5" /> &nbsp;<?php echo JText::_('JS_DAYS'); ?></td>
							<td  class="key"><strong><?php echo JText::_('JS_SHOW_CUR_LOCATION'); ?></strong></td>
							<td><?php echo $curlocation; ?></td>
					    </tr>
					    <tr >
							<td  class="key"><strong><?php echo JText::_('JS_COMPANY_LOGO_MAXIMUM_SIZE'); ?></strong></td>
							<td><input type="text" name="company_logofilezize" value="<?php echo $this->config['company_logofilezize']; ?>" class="inputbox" size="<?php echo $med_field_width; ?>" /> &nbsp;KB</td>
							<td  class="key"><strong><?php echo JText::_('JS_JOB_SHOW_EDITOR'); ?></strong></td>
							<td><?php echo $job_editor; ?></td>
					    <tr >
							<td  class="key"><strong><?php echo JText::_('JS_JOB_SEEKER_PHOTO_MAXIMUM_SIZE'); ?></strong></td>
							<td><input type="text" name="resume_photofilesize" value="<?php echo $this->config['resume_photofilesize']; ?>" class="inputbox" size="<?php echo $med_field_width; ?>" /> &nbsp;KB</td>
							<td class="key"><strong><?php echo JText::_('JS_MESSAGE_AUTO_APPROVE'); ?></strong></td>
					    	<td><?php echo JHTML::_('select.genericList', $yesno, 'message_auto_approve', 'class="inputbox" '. '', 'value', 'text', $this->config['message_auto_approve']); ?></td>
						</tr>
					    <tr>
					    	<td class="key"><strong><?php echo JText::_('JS_HIDE_COUNTRY'); ?></strong></td>
					    	<td ><?php echo JHTML::_('select.genericList', $yesno, 'hidecountry', 'class="inputbox" '. '', 'value', 'text', $this->config['hidecountry']);; ?></td>
					    </tr>
					    <tr height="15"></tr>
						</table>
						</fieldset>
						<fieldset>
					</fieldset>
					
					<?php  echo $pane->endPanel(); ?>
					<?php echo $pane->startPanel(JText::_('JS_VISITORS'), 'visitors'); ?>
					<table  class="adminform">
						<tr><td allign="center"><strong> <?php echo JText::_('JS_VISITORS_CAN_VIEW'); ?></strong>
						</td></tr>
					</table>
					<fieldset>
					<legend><?php echo JText::_('JS_JOBSEEKER'); ?></legend>
					<table cellpadding="5" cellspacing="1" border="0" width="100%" class="admintable" >
					<tr >
					     <td class="key" width="25%"><?php echo JText::_('JS_VISITOR_CAN_APPLY_TO_JOB'); ?></td>
					     <td  width="25%"><?php echo JHTML::_('select.genericList', $yesno, 'visitor_can_apply_to_job', 'class="inputbox" '. '', 'value', 'text', $this->config['visitor_can_apply_to_job']); ?></td>
					     <td  width="25%" class="key"><?php echo JText::_('JS_SHOW_LOGIN_MESSAGE_TO_VISITOR'); ?></td>
					     <td width="25%"><?php echo JHTML::_('select.genericList', $yesno, 'visitor_show_login_message', 'class="inputbox" '. '', 'value', 'text', $this->config['visitor_show_login_message']); ?></td>
				  	 </tr>
					<tr >
					     <td class="key" width="25%"><?php echo JText::_('JS_CONTROL_PANEL'); ?></td>
					     <td  width="25%"><?php echo $visitorview_js_controlpanel; ?></td>
					     <td  width="25%" class="key"><?php echo JText::_('JS_PACKAGES'); ?></td>
					     <td width="25%"><?php echo $visitorview_js_packages; ?></td>
				  	 </tr>
					 <tr>
					     <td class="key" ><?php echo JText::_('JS_JOB_CATEGORIES'); ?></td>
					     <td ><?php echo $visitorview_wrecruitcat; ?></td>
					     <td class="key"><?php echo JText::_('JS_PACKAGE_DETAIL'); ?></td>
					     <td><?php echo $visitorview_js_viewpackage; ?></td>
				  	 </tr>
					 <tr>
					     <td class="key" ><?php echo JText::_('JS_NEWEST_JOBS'); ?></td>
					     <td><?php echo $visitorview_js_newestjobs; ?></td>
					     <td class="key"><?php echo JText::_('JS_LISTJOB'); ?></td>
					     <td><?php echo $visitorview_js_listjob; ?></td>
				  	 </tr>
					 <tr>
					     <td class="key"><?php echo JText::_('JS_JOB_SEARCH'); ?></td>
					     <td><?php echo $visitorview_wrecruitsearch; ?></td>
					     <td class="key"><?php echo JText::_('JS_JOB_SEARCHREULTS'); ?></td>
					     <td><?php echo $visitorview_wrecruitsearchresult; ?></td>
				  	 </tr>
					 <tr>
					     <td class="key"><?php echo JText::_('JS_VIEW_JOB'); ?></td>
					     <td><?php echo $visitorview_emp_viewjob; ?></td>
					     <td class="key"><?php echo JText::_('JS_VIEW_COMPANY'); ?></td>
					     <td><?php echo $visitorview_emp_viewcompany; ?></td>
				  	 </tr>
					 </table>
					 </fieldset>
					<fieldset>
					<legend><?php echo JText::_('JS_EMPLOYER'); ?></legend>
					<table cellpadding="5" cellspacing="1" border="0" width="100%" class="admintable" >
					<tr >
					     <td class="key" width="25%"><?php echo JText::_('JS_CONTROL_PANEL'); ?></td>
					     <td  width="25%"><?php echo $visitorview_emp_conrolpanel; ?></td>
					     <td  width="25%" class="key"><?php echo JText::_('JS_PACKAGES'); ?></td>
					     <td width="25%"><?php echo $visitorview_emp_packages; ?></td>
				  	 </tr>
					 <tr>
					     <td class="key"><?php echo JText::_('JS_PACKAGE_DETAIL'); ?></td>
					     <td><?php echo $visitorview_emp_viewpackage; ?></td>
					     <td class="key"></td>
					     <td></td>
				  	 </tr>
					 </table>
					 </fieldset>
					 <?php  echo $pane->endPanel(); ?>
					<?php echo $pane->startPanel(JText::_('JS_LISTJOB'), 'listjob'); ?>
					<fieldset>
					<legend><?php echo JText::_('JS_LISTING_STYLE'); ?></legend>
					<table cellpadding="5" cellspacing="1" border="0" width="100%" class="admintable" >
					<tr >
						<td class="key" ><?php echo JText::_('JS_SHORT_DESCRIPTION_LENGHT'); ?></td>
						<td width="25%"><input type="text" name="lj_shortdescriptionlenght" value="<?php echo $this->config['lj_shortdescriptionlenght']; ?>" class="inputbox" size="<?php echo $med_field_width; ?>" /><?php echo '(ch)'; ?> </td>
						<td class="key" width="25%">&nbsp;</td>
					     <td width="25%">&nbsp;</td>
				  	 </tr>
					 </table>
					 </fieldset>
					<fieldset>
					<legend><?php echo JText::_('JS_MEMBERS').' / '.JText::_('JS_ACTIVE_MEMBERS'); ?></legend>
					<table cellpadding="5" cellspacing="1" border="0" width="100%" class="admintable" >
					<tr >
					     <td class="key" width="25%"><?php echo JText::_('JS_TITLE'); ?></td>
					     <td width="25%"><?php echo $lj_title; ?></td>
					     <td width="25%" class="key"><?php echo JText::_('JS_COUNTRY'); ?></td>
					     <td width="25%"><?php echo $lj_country; ?></td>
				  	 </tr>
					 <tr>
					     <td class="key" ><?php echo JText::_('JS_CATEGORY'); ?></td>
					     <td ><?php echo $lj_category; ?></td>
					     <td class="key"><?php echo JText::_('JS_STATE'); ?></td>
					     <td><?php echo $lj_state; ?></td>
				  	 </tr>
					 <tr>
					     <td class="key" ><?php echo JText::_('JS_JOBTYPE'); ?></td>
					     <td><?php echo $lj_jobtype; ?></td>
					     <td class="key"><?php echo JText::_('JS_COUNTY'); ?></td>
					     <td><?php echo $lj_county; ?></td>
				  	 </tr>
					 <tr>
					     <td class="key"><?php echo JText::_('JS_JOB_STATUS'); ?></td>
					     <td><?php echo $lj_jobstatus; ?></td>
					     <td class="key"><?php echo JText::_('JS_CITY'); ?></td>
					     <td><?php echo $lj_city; ?></td>
				  	 </tr>
					 <tr>
					     <td class="key"><?php echo JText::_('JS_COMPANY'); ?></td>
					     <td><?php echo $lj_company; ?></td>
					     <td class="key"><?php echo JText::_('JS_NOOF_JOBS'); ?></td>
					     <td><?php echo $lj_noofjobs; ?></td>
				  	 </tr>
					 <tr>
					     <td class="key"><?php echo JText::_('JS_COMPANY_SITE'); ?></td>
					     <td><?php echo $lj_companysite; ?></td>
					     <td class="key"><?php echo JText::_('JS_CREATED'); ?></td>
					     <td><?php echo $lj_created; ?></td>
				  	 </tr>
					 <tr>
					     <td class="key"><?php echo JText::_('JS_SALARY'); ?></td>
					     <td><?php echo $lj_salary; ?></td>
					     <td class="key"><?php echo JText::_('JS_DESCRIPTION'); ?></td>
					     <td><?php echo $lj_description; ?></td>
				  	 </tr>
					 </table>
					 </fieldset>
					<fieldset>
					<legend><?php echo JText::_('JS_VISITORS').' / '.JText::_('JS_EXPIRED_MEMBERS_PACKAGE'); ?></legend>
					<table cellpadding="5" cellspacing="1" border="0" width="100%" class="admintable" >

					<tr >
					     <td class="key" width="25%"><?php echo JText::_('JS_TITLE'); ?></td>
					     <td width="25%"><?php echo $visitor_lj_title; ?></td>
					     <td width="25%" class="key"><?php echo JText::_('JS_COUNTRY'); ?></td>
					     <td width="25%"><?php echo $visitor_lj_country; ?></td>
				  	 </tr>
					 <tr>
					     <td class="key" ><?php echo JText::_('JS_CATEGORY'); ?></td>
					     <td ><?php echo $visitor_lj_category; ?></td>
					     <td class="key"><?php echo JText::_('JS_STATE'); ?></td>
					     <td><?php echo $visitor_lj_state; ?></td>
				  	 </tr>
					 <tr>
					     <td class="key" ><?php echo JText::_('JS_JOBTYPE'); ?></td>
					     <td><?php echo $visitor_lj_jobtype; ?></td>
					     <td class="key"><?php echo JText::_('JS_COUNTY'); ?></td>
					     <td><?php echo $visitor_lj_county; ?></td>
				  	 </tr>
					 <tr>
					     <td class="key"><?php echo JText::_('JS_JOB_STATUS'); ?></td>
					     <td><?php echo $visitor_lj_jobstatus; ?></td>
					     <td class="key"><?php echo JText::_('JS_CITY'); ?></td>
					     <td><?php echo $visitor_lj_city; ?></td>
				  	 </tr>
					 <tr>
					     <td class="key"><?php echo JText::_('JS_COMPANY'); ?></td>
					     <td><?php echo $visitor_lj_company; ?></td>
					     <td class="key"><?php echo JText::_('JS_NOOF_JOBS'); ?></td>
					     <td><?php echo $visitor_lj_noofjobs; ?></td>
				  	 </tr>
					 <tr>
					     <td class="key"><?php echo JText::_('JS_COMPANY_SITE'); ?></td>
					     <td><?php echo $visitor_lj_companysite; ?></td>
					     <td class="key"><?php echo JText::_('JS_CREATED'); ?></td>
					     <td><?php echo $visitor_lj_created; ?></td>
				  	 </tr>
					 <tr>
					     <td class="key"><?php echo JText::_('JS_SALARY'); ?></td>
					     <td><?php echo $visitor_lj_salary; ?></td>
					     <td class="key"><?php echo JText::_('JS_DESCRIPTION'); ?></td>
					     <td><?php echo $visitor_lj_description; ?></td>
				  	 </tr>
					 </table>
					 </fieldset>
					<fieldset>
					<legend><?php echo JText::_('SUB_CATEGORIES'); ?></legend>
					<table cellpadding="5" cellspacing="1" border="0" width="100%" class="admintable" >

					<tr >
					     <td class="key" width="25%"><?php echo JText::_('SUB_CATEGORIES'); ?></td>
					     <td width="25%"><?php echo JHTML::_('select.genericList', $showhide, 'subcategories', 'class="inputbox" '. '', 'value', 'text', $this->config['subcategories']); ?></td>
					     <td width="25%" class="key"><?php echo JText::_('JS_ALL_SUBCATEGORIES'); ?></td>
					     <td width="25%"><?php echo JHTML::_('select.genericList', $yesno, 'subcategories_all', 'class="inputbox" '. '', 'value', 'text', $this->config['subcategories_all']); ?></td>
				  	 </tr>
					 <tr>
					     <td class="key" ><?php echo JText::_('JS_COLS_PER_ROW'); ?></td>
                                            <td><input type="text" name="subcategories_colsperrow" value="<?php echo $this->config['subcategories_colsperrow']; ?>" class="inputbox" size="<?php echo $med_field_width; ?>" /> </td>
					     <td class="key"><?php echo JText::_('JS_MAX_HEIGHT'); ?></td>
                                            <td><input type="text" name="subcategoeis_max_hight" value="<?php echo $this->config['subcategoeis_max_hight']; ?>" class="inputbox" size="<?php echo $med_field_width; ?>" /> &nbsp;px</td>
				  	 </tr>
					 </table>
					 </fieldset>
					 <?php  echo $pane->endPanel(); ?>
					<?php echo $pane->startPanel(JText::_('JS_JOB_SEARCH'), 'Search Job'); ?>
					<fieldset>
					<legend><?php echo JText::_('JS_SEARCH_JOB_SEETINGS'); ?></legend>
					<table cellpadding="5" cellspacing="1" border="0" width="100%" class="admintable" >
				   <tr>
					      <td class="key" width="25%"><?php echo JText::_('JS_ALLOW_SAVE_SEARCH'); ?></td>
					      <td width="25%"><?php echo $search_job_showsave; ?></td>
					      <td width="25%" class="key"><?php echo JText::_('JS_SHIFT'); ?></td>
					      <td width="25%"><?php echo $search_job_shift; ?></td>
				   </tr>
					<tr >
					     <td class="key" ><?php echo JText::_('JS_KEYWORD'); ?></td>
					     <td ><?php echo $search_job_keyword; ?></td>
					     <td class="key"><?php echo JText::_('JS_DURATION'); ?></td>
					     <td><?php echo $search_job_durration; ?></td>
				  </tr>
				 <tr >
					     <td class="key" ><?php echo JText::_('JS_CATEGORY'); ?></td>
					     <td><?php echo $search_job_category; ?></td>
					     <td class="key"><?php echo JText::_('JS_START_PUBLISHING'); ?></td>
					     <td align="left" valign="top"><?php echo $search_job_startpublishing; ?></td>
				</tr>
				<tr >
					     <td class="key"><?php echo JText::_('JS_JOBTYPE'); ?></td>
					     <td><?php echo $search_job_type; ?></td>
						 <td class="key"><?php echo JText::_('JS_STOP_PUBLISHING'); ?></td>
						 <td><?php echo $search_job_stoppublishing; ?></td>
				</tr>
				<tr >
					     <td class="key"><?php echo JText::_('JS_JOB_STATUS'); ?></td>
					     <td><?php echo $search_job_jobstatus; ?></td>
					     <td class="key"><?php echo JText::_('JS_COUNTRY'); ?></td>
					     <td><?php echo $search_job_country; ?></td>
				</tr>
				<tr >
					     <td class="key"><?php echo JText::_('JS_COMPANY'); ?></td>
					     <td><?php echo $search_job_company; ?></td>
					     <td class="key"><?php echo JText::_('JS_COMPANY_SITE'); ?></td>
					     <td><?php echo $search_job_companysite; ?></td>
				</tr>
				<tr >
						 <td class="key"><?php echo JText::_('JS_SALARY_RANGE'); ?></td>
						 <td><?php echo $search_job_salaryrange; ?></td>
					     <td class="key"><?php echo JText::_('JS_CITY'); ?></td>
					     <td><?php echo $search_job_city; ?></td> 
				</tr>
				</table>
				</fieldset>
					
					<?php  echo $pane->endPanel(); ?>
					<?php echo $pane->startPanel(JText::_('JS_LIST_RESUME'), 'List Resume'); ?>
					<fieldset>
					<legend><?php echo JText::_('JS_SEARCH_RESUME_SETTINGS'); ?></legend>
					<table cellpadding="5" cellspacing="1" border="0" width="100%" class="admintable" >
						<tr>
							<td class="key" width="25%"><?php echo JText::_('JS_ALLOW_SAVE_SEARCH'); ?></td>
							<td width="25%"><?php echo $search_resume_showsave; ?></td>
							<td width="25%" class="key"><?php echo JText::_('JS_SALARY_RANGE'); ?></td>
							<td width="25%"><?php echo $search_resume_salaryrange; ?></td>
						</tr>
					    <tr>
					    	<td class="key"><?php echo JText::_('JS_TITLE'); ?></td>
					        <td><?php echo $search_resume_title; ?></td>
					        <td class="key"><?php echo JText::_('JS_GENDER'); ?></td>
					        <td><?php echo $search_resume_gender; ?></td>
						</tr>
					    <tr>
					    	<td class="key"><?php echo JText::_('JS_NAME'); ?></td>
					    	<td><?php echo $search_resume_name; ?></td>
					    	<td class="key"><?php echo JText::_('JS_TYPE'); ?></td>
					    	<td><?php echo $search_resume_type; ?></td>
					    </tr>
					    <tr>
					    	<td class="key"><?php echo JText::_('JS_CATEGORY'); ?></td>'
					    	<td><?php echo $search_resume_category; ?></td>
					    	<td class="key"><?php echo JText::_('JS_AVAILABLE'); ?></td>
					    	<td><?php echo $search_resume_available; ?></td>
					    </tr>
					    <tr>
					    	<td class="key"><?php echo JText::_('JS_EXPERIENCE'); ?></td>
					    	<td><?php echo $search_resume_experience; ?></td>
					    	<td class="key"><?php echo JText::_('JS_NATIONALITY'); ?></td>
					    	<td><?php echo $search_resume_nationality; ?></td>
					    </tr>
					    <tr>
					    	<td class="key"><?php echo JText::_('JS_HEIGHEST_EDUCATION'); ?></td>'
					    	<td><?php echo $search_resume_heighesteducation; ?></td>
					    	<td></td>
					    	<td></td>
					    </tr>
						</table>
						</fieldset>
					<?php  echo $pane->endPanel(); ?>
					<?php echo $pane->startPanel(JText::_('JS_FILTER'),'flter'); ?>
					<fieldset>
					<legend><?php echo JText::_('JS_FILTER_SETTINGS'); ?></legend>
					<table cellpadding="5" cellspacing="1" border="0" width="100%" class="admintable" >
					      <tr>
					         <td class="key" width="25%"><?php echo JText::_('JS_FILTER'); ?></td>
					         <td width="25%"><?php echo $filter; ?></td>
					         <td width="25%" class="key"><?php echo JText::_('JS_JOB_TYPE'); ?></td>
					         <td width="25%"><?php echo $filter_jobtype; ?></td>
					      </tr>
					     <tr>
					         <td class="key"><?php echo JText::_('JS_ADDRESS'); ?></td>
					         <td><?php echo $filter_address; ?></td>
					         <td class="key"><?php echo JText::_('JS_SALARY_RANGE'); ?></td>
					         <td><?php echo $filter_salaryrange; ?></td>
					      </tr>
					     <tr>
					         <td class="key"><?php echo JText::_('JS_FILTER_ADDRESS_FIELDS_WIDTH'); ?></td>
					         <td><input type="text" name="filter_address_fields_width" value="<?php echo $this->config['filter_address_fields_width']; ?>" class="inputbox" size="5" maxlength="5" /> &nbsp;px</td>
					         <td class="key"><?php echo JText::_('JS_HEIGHEST_EDUCATION'); ?></td>
					         <td><?php echo $filter_heighesteducation; ?></td>
					      </tr>
					     <tr>
					         <td class="key"><?php echo JText::_('JS_CATEGORY'); ?></td>
					 <td><?php echo $filter_category; ?></td>
						 <td class="key"><?php echo JText::_('JS_COUNTRY'); ?></td>
						 <td><?php echo $filter_address_country; ?></td>
					      </tr>
					     <tr>
						 	<td class="key"><?php echo JText::_('JS_COUNTY'); ?></td>
						 	<td><?php echo $filter_address_county; ?></td>
						 	<td class="key"><?php echo JText::_('JS_CITY'); ?></td>
					        <td><?php echo $filter_address_city; ?></td>
					      </tr>
                        <?php // sce ?>
                        </table>
						</fieldset>
					<?php  echo $pane->endPanel(); ?>
					<?php echo $pane->startPanel(JText::_('JS_PACKAGE'),'package'); ?>
					<fieldset>
					<legend><?php echo JText::_('JS_PACKAGE_SETTINGS'); ?></legend>
					<table cellpadding="5" cellspacing="1" border="0" width="100%" class="admintable" >
						<tr>
							<td class="key"><strong><?php echo JText::_('JS_DEFAULT_EMPLOYER_PACKAGE'); ?></strong></td>
							<td><?php echo $this->lists['employer_defaultpackage']; ?></td>
							<td  class="key"><strong><?php echo JText::_('JS_DEFAULT_JOBSEEKER_PACKAGE'); ?></strong></td>
							<td><?php echo $this->lists['jobseeker_defaultpackage']; ?></td>
						</tr>
					      <tr>
					         <td class="key" width="25%"><?php echo JText::_('JS_ONLY_ONCE_EMPLOYER_GET_FREE_PACKAGE'); ?></td>
					         <td width="25%"><?php echo $onlyonce_employer_getfreepackage; ?></td>
					         <td width="25%" class="key"><?php echo JText::_('JS_ONLY_ONCE_JOBSEEKER_GET_FREE_PACKAGE'); ?></td>
					         <td width="25%"><?php echo $onlyonce_jobseeker_getfreepackage; ?></td>
					      </tr>
					     <tr>
					         <td class="key"><?php echo JText::_('JS_EMPLOYER_FREE_PACKAGE_AUTO_APPROVE'); ?></td>
					         <td><?php echo $employer_freepackage_autoapprove; ?></td>
					         <td class="key"><?php echo JText::_('JS_JOBSEEKER_FREE_PACKAGE_AUTO_APPROVE'); ?></td>
					         <td><?php echo $jobseeker_freepackage_autoapprove; ?></td>
					      </tr>
						</table>
						</fieldset>
					<?php  echo $pane->endPanel(); ?>
					<?php echo $pane->startPanel(JText::_('JS_EMAIL'),'E-Mail'); ?>
					<fieldset>
					<legend><?php echo JText::_('JS_EMAIL_SETTINGS'); ?></legend>
					<table cellpadding="5" cellspacing="1" border="0" width="100%" class="admintable" >
						  <tr >
					         <td class="key" width="25%"><?php echo JText::_('JS_MAIL_FROM_ADDRESS'); ?></td>
					         <td width="25%"><input type="text" name="mailfromaddress" value="<?php echo $this->config['mailfromaddress']; ?>" class="inputbox" size="<?php echo $big_field_width;?>"/> </td>
					         <td width="25%" class="key"><?php echo JText::_('JS_EMAIL_ADMIN_NEW_RESUME'); ?></td>
					         <td width="25%"><?php echo $email_admin_new_resume; ?></td>
					      </tr>
						<tr >
					         <td class="key"><?php echo JText::_('JS_MAIL_ADMIN_ADDRESS'); ?></td>
					         <td><input type="text" name="adminemailaddress" value="<?php echo $this->config['adminemailaddress']; ?>" class="inputbox" size="<?php echo $med_field_width;?>" /> </td>
					         <td class="key"><?php echo JText::_('JS_EMAIL_ADMIN_NEW_DEPARTMENT'); ?></td>
					         <td><?php echo $email_admin_new_department; ?></td>
					      </tr>
						  <tr>
					         <td class="key"><?php echo JText::_('JS_MAIL_FROM_NAME'); ?></td>
					         <td><input type="text" name="mailfromname" value="<?php echo $this->config['mailfromname']; ?>" class="inputbox" size="<?php echo $med_field_width;?>" /> </td>
					         <td class="key"><?php echo JText::_('JS_EMAIL_ADMIN_JOB_APPLY'); ?></td>
					         <td><?php echo $email_admin_job_apply; ?></td>
					      </tr>
						  <tr>
					         <td class="key" ><?php echo JText::_('JS_EMAIL_ADMIN_NEW_COMPANY'); ?></td>
					         <td><?php echo $email_admin_new_company; ?></td>
					         <td class="key" width="30%"><?php echo JText::_('JS_EMAIL_ADMIN_EMPLOYER_PACKAGE_PURCHASE'); ?></td>
					         <td><?php echo $email_admin_employer_package_purchase; ?></td>
					      </tr>
						  <tr>
					         <td class="key"><?php echo JText::_('JS_EMAIL_ADMIN_NEW_JOB'); ?></td>
					         <td><?php echo $email_admin_new_job; ?></td>
					         <td class="key"><?php echo JText::_('JS_EMAIL_ADMIN_JOBSEEKER_PACKAGE_PURCHASE'); ?></td>
					         <td><?php echo $email_admin_jobseeker_package_purchase; ?></td>
						  </tr>
					
						</table>
					</fieldset>
					<?php  echo $pane->endPanel(); ?>
			</td></tr>
			</table>
			<input type="hidden" name="task" value="saveconf" />
				<input type="hidden" name="version" value="<?php echo $conf->version; ?>" />
				<input type="hidden" name="view" value="application" />
				<input type="hidden" name="layout" value="conf" />
				<input type="hidden" name="option" value="<?php echo $this->option; ?>" />


			</form>
			
		</td>
	</tr>
	<tr>
		<td colspan="2" align="left"  valign="top">
			<table width="100%" style="table-layout:fixed;"><tr><td style="vertical-align:top;">
			<?php
				include_once('components/com_wrecruit/views/jscr.php');
			?>
			</td>
			</tr></table>
		</td>
	</tr>
	
</table>
<script language=Javascript>
    function paymentmethod_showhide(){
        paypal = document.getElementById('paymentmethod_paypal').style;
        pagseguro = document.getElementById('paymentmethod_pagseguro').style;
        packageform = document.getElementById('paymentmethod_packageform').style;
        element = document.getElementById('payment_method');
        val = element.options[element.selectedIndex].value;
        if(val == 'paypal'){
            paypal.display = 'block';
            pagseguro.display = 'none';
            packageform.display = 'none';
        }else if(val == 'pagseguro'){
            paypal.display = 'none';
            pagseguro.display = 'block';
            packageform.display = 'none';
        }else if((val == 'fastspring') || (val == 'authorizenet') || (val == '2checkout')){
            paypal.display = 'none';
            pagseguro.display = 'none';
            packageform.display = 'block';
        }else{
            paypal.display = 'none';
            pagseguro.display = 'none';
            packageform.display = 'none';
        }
    }

    paymentmethod_showhide(); //calling method
</script>
